package client;

import view.MainWindow;

public class MainMethod {

    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            private MainWindow mainWindow;

            @Override
            public void run() {
                this.mainWindow = new MainWindow();
                this.mainWindow.setClient(new Client("localhost", 2121, this.mainWindow));
                this.mainWindow.setVisible(true);
            }
        });
    }

}
